Rachel
Toggle table of contents
3.5.0
desktop
Target filter
desktop
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.plugin.pag-kmp
/
org.libpag
/
[desktop]PAGImageLayer
PAGImage
Layer
desktop
@
NativeLibApi
class
PAGImageLayer
:
PAGLayer
Members
Types
Companion
Link copied to clipboard
desktop
object
Companion
Properties
alpha
Link copied to clipboard
desktop
var
alpha
:
Float
bounds
Link copied to clipboard
desktop
val
bounds
:
FloatArray
content
Duration
Link copied to clipboard
desktop
val
contentDuration
:
Long
current
Time
Link copied to clipboard
desktop
var
currentTime
:
Long
duration
Link copied to clipboard
desktop
val
duration
:
Long
editable
Index
Link copied to clipboard
desktop
val
editableIndex
:
Int
excluded
From
Timeline
Link copied to clipboard
desktop
var
excludedFromTimeline
:
Boolean
frame
Rate
Link copied to clipboard
desktop
val
frameRate
:
Float
image
Bytes
Link copied to clipboard
desktop
val
imageBytes
:
ByteBuffer
?
layer
Name
Link copied to clipboard
desktop
val
layerName
:
String
layer
Type
Link copied to clipboard
desktop
val
layerType
:
Int
matrix
Link copied to clipboard
desktop
var
matrix
:
FloatArray
native
Handle
Link copied to clipboard
desktop
val
nativeHandle
:
Long
progress
Link copied to clipboard
desktop
var
progress
:
Double
start
Time
Link copied to clipboard
desktop
var
startTime
:
Long
total
Matrix
Link copied to clipboard
desktop
val
totalMatrix
:
FloatArray
visible
Link copied to clipboard
desktop
var
visible
:
Boolean
Functions
content
Time
To
Layer
Link copied to clipboard
desktop
fun
contentTimeToLayer
(
time
:
Long
)
:
Long
global
To
Local
Time
Link copied to clipboard
desktop
fun
globalToLocalTime
(
time
:
Long
)
:
Long
layer
Time
To
Content
Link copied to clipboard
desktop
fun
layerTimeToContent
(
time
:
Long
)
:
Long
local
Time
To
Global
Link copied to clipboard
desktop
fun
localTimeToGlobal
(
time
:
Long
)
:
Long
replace
Image
Link copied to clipboard
desktop
fun
replaceImage
(
image
:
PAGImage
)
reset
Matrix
Link copied to clipboard
desktop
fun
resetMatrix
(
)
set
Image
Link copied to clipboard
desktop
fun
setImage
(
image
:
PAGImage
)